package echat.future.cn.echat.message.bean;

import android.text.TextUtils;

/**
 * Created by JX on 2018/8/13.
 */

public class MyCallBean {

    /**
     * e_money : 200
     * chat_time : 300
     * anchor_id : 4
     * create_time : 1536228365
     * username : nancy
     * avatar : http://photocdn.sohu.com/20150907/mp30906533_1441629699374_2.jpeg
     * level : 3
     */

    private int e_money;
    private long chat_time;
    private int anchor_id;
    private long create_time;
    private String username;
    private String avatar;
    private String level;

    public int getE_money() {
        return e_money;
    }

    public void setE_money(int e_money) {
        this.e_money = e_money;
    }

    public long getChat_time() {
        return chat_time;
    }

    public void setChat_time(long chat_time) {
        this.chat_time = chat_time;
    }

    public long getCreate_time() {
        return create_time;
    }

    public void setCreate_time(long create_time) {
        this.create_time = create_time;
    }

    public int getAnchor_id() {
        return anchor_id;
    }

    public void setAnchor_id(int anchor_id) {
        this.anchor_id = anchor_id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public String getLevel() {
        if(TextUtils.isEmpty(level))
            return "0";
        return level;
    }

    public void setLevel(String level) {
        this.level = level;
    }
}
